import Vue from 'vue'
import App from './App'

import footerBar from "./components/footer-bar.vue"; //引入底部
import cuCustom from './colorui/components/cu-custom.vue' //引入自定义头部js
import noData from './components/no-data.vue' //空内容组件
import uploadImage from './components/uploadImage.vue' //上传图片组件
import datePicker from './components/datePicker.vue' //选择日期组件
import tabSelect from './components/tabSelect.vue' //tab选择
import selectPicker from './components/selectPicker.vue' //下拉选择
import TabSelectList from "./components/TabSelectList"
import BottomLine from "./components/BottomLine"
import OrderPay from "./components/OrderPay"//订单支付
import store from "@/store" //引入store缓存
import http from '@/utils/http.js' //引入请求工具包
import '@/utils/filter.js' //引入vue过滤器 
import comm from '@/utils/comm.js' //引入公共方法
import uParse from '@/components/u-parse/u-parse.vue'
import RichTextEdit from '@/components/RichTextEdit.vue'
Vue.component('uParse', uParse)
Vue.component('footer-bar', footerBar)
Vue.component('cu-custom', cuCustom)
Vue.component('cu-no-data', noData)
Vue.component('cu-upload-image', uploadImage)
Vue.component('cu-date-picker', datePicker)
Vue.component('cu-tab-select', tabSelect)
Vue.component('cu-select-picker', selectPicker)
Vue.component('tab-select-list', TabSelectList)
Vue.component('cu-bottom-line', BottomLine)
Vue.component('OrderPay', OrderPay)
Vue.component('RichTextEdit', RichTextEdit)


Vue.prototype.$store = store;
Vue.prototype.$http = http;
Vue.prototype.$comm = comm;
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	store,
	...App
})
app.$mount()